<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libarchive</Name>
        <Homepage>https://www.libarchive.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>Library for reading and writing streaming archives</Summary>
        <Description>libarchive includes a library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats.</Description>
        <Archive sha1sum="35c971132e4ecb1679418d1713e328e415aac569" type="tarxz">https://github.com/libarchive/libarchive/releases/download/v3.6.2/libarchive-3.6.2.tar.xz</Archive>
        <AdditionalFiles>
            <AdditionalFile target="1723.patch">1723.patch</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>acl-devel</Dependency>
            <Dependency>nettle-devel</Dependency>
            <Dependency>attr-devel</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency versionFrom="2.10.3">libxml2-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>lz4-devel</Dependency>
            <Dependency>zstd-devel</Dependency>
            <Dependency>lzo-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">glibc.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libarchive</Name>
        <RuntimeDependencies>
            <Dependency>lzo</Dependency>
            <Dependency>nettle</Dependency>
            <Dependency>xz</Dependency>
            <Dependency>lz4</Dependency>
            <Dependency>zstd</Dependency>
            <Dependency>acl</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>attr</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>libxml2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc/libarchive</Path>
        </Files>
    </Package>

    <Package>
        <Name>libarchive-devel</Name>
        <Summary>Development files for libarchive</Summary>
        <RuntimeDependencies>
            <Dependency>openssl-devel</Dependency>
            <Dependency release="current">libarchive</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>
    
    <History>
        <Update release="15">
            <Date>2023-02-26</Date>
            <Version>3.6.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2023-01-28</Date>
            <Version>3.6.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="13">
            <Date>2023-01-03</Date>
            <Version>3.6.2</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="12">
            <Date>2022-11-01</Date>
            <Version>3.6.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>202-07-24</Date>
            <Version>3.6.1</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>202-05-05</Date>
            <Version>3.6.1</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-06-02</Date>
            <Version>3.5.1</Version>
            <Comment>Version bump</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-12-09</Date>
            <Version>3.4.3</Version>
            <Comment>Idris Kalp</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2019-12-26</Date>
            <Version>3.4.0</Version>
            <Comment>Idris Kalp</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-12-26</Date>
            <Version>3.3.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-07-29</Date>
            <Version>3.3.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-04-25</Date>
            <Version>3.3.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-09</Date>
            <Version>3.2.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>3.1.2</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-16</Date>
            <Version>3.1.2</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
